package com.alexgaoyh.MutiModule.Dubbo.RWSeperate.provider.read.sysman.sysmanUser;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.alexgaoyh.MutiModule.Dubbo.RWSeperate.api.sysman.sysmanUser.read.ISysmanUserReadService;
import com.alexgaoyh.MutiModule.Dubbo.RWSeperate.persist.sysman.sysmanUser.SysmanUser;
import com.alexgaoyh.MutiModule.Dubbo.RWSeperate.persist.sysman.sysmanUser.SysmanUserExample;
import com.alexgaoyh.MutiModule.Dubbo.RWSeperate.persist.sysman.sysmanUser.SysmanUserMapper;

@Service(value = "sysmanUserService")
public class SysmanUserServiceImpl implements ISysmanUserReadService{
	
	@Resource(name = "sysmanUserMapper")
	private SysmanUserMapper mapper;

	@Override
	public int countByExample(SysmanUserExample example) {
		return mapper.countByExample(example);
	}

	@Override
	public int deleteByExample(SysmanUserExample example) {
		return mapper.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(Long id) {
		return mapper.deleteByPrimaryKey(id);
	}

	@Override
	public List<SysmanUser> selectByExample(SysmanUserExample example) {
		return mapper.selectByExample(example);
	}

	@Override
	public SysmanUser selectByPrimaryKey(Long id) {
		return mapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByExampleSelective(SysmanUser record,
			SysmanUserExample example) {
		return mapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(SysmanUser record, SysmanUserExample example) {
		return mapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(SysmanUser record) {
		return mapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(SysmanUser record) {
		return mapper.updateByPrimaryKeySelective(record);
	}

}
